import 'package:flutter/material.dart';
import 'package:geomancy/widgets/common_text.dart';

class CommonVerticalTextWidget extends StatelessWidget {
  final String content;
  final MainAxisAlignment alignment;
  const CommonVerticalTextWidget({super.key, required this.content, this.alignment = MainAxisAlignment.start});

  @override
  Widget build(BuildContext context) {
    return Column(
      mainAxisAlignment: alignment,
      children: content.split("").map((txt) {
        return CommonText(txt: txt);
      }).toList(),
    );
  }
}
